home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Megahits 5
/
Megahits 5 (1994)(GTI - Rhein-Main-Soft)(DE)(Disc 2 of 2)[!].iso
/
archive
/
show
/
jpegagasrc10.lha
/
jpeg
/
README.AMIGA
< prev
next >
Wrap
Text File
|
1994-06-05
|
1KB
|
32 lines
This directory contains the Independent JPEG Group's JPEG software.
(jpegsrc.V4.tar.Z)
I made no changes to the original distribution but I created
the makefile for gcc on the Amiga and renamed jmemname.c to jmemsys.c.
NOTE: Using Aztec C 5.2a and full optimization (option -so) will create
wrong code when compiling for the 68020 processor. In any case, the code
will be much slower than the version created by gcc.
To recompile djpeg and cjpeg with gcc:
(I used version 2.5.8)
- edit the standard include file stdlib.h and set EXIT_FAILURE to 10
- edit the file makefile.gcc.amiga and set the compiler options
according to your processor model
- enter "make -f makefile.gcc.amiga" to create cjpeg and djpeg
- enter "make -f makefile.gcc.amiga test" to test if the programs
really work (you need the command cmp into your search path)
You should not get any error messages.
- enter "make -f makefile.gcc.amiga libjpeg.a" to create the linker library
libjpeg.a, it should be copied then to the gcc:lib directory
- to reduce the size of the binaries remove the symbol hunks
(for example with the program stripa from the developer disks
released by Commodore)